package cn.jsprun.dao.otherset;

import java.util.List;

import cn.jsprun.domain.Advertisements;

public interface AdvSetDao {
	
	public List<Advertisements> queryAllAdv();
	
	public Advertisements queryAdvById(Integer id);
	
	public List<Advertisements> queryAdvByCondition(String sqlStatement);
	
	public boolean addAdv(Advertisements adv);
	
	public boolean updateAdv(Advertisements adv);
	
	public boolean updateAdvs(List<Advertisements> advList);
	
	public boolean delAnyAdvs(String deleteIds[]);
	
}
